import type { RouteRecordRaw } from 'vue-router'
const examples: RouteRecordRaw[] = [
  {
    path: '/examples/admin',
    name: 'AdminExample',
    component: () => import('@/views/modules/examples/admin'),
    meta: {
      title: '管理员'
    }
  },
  {
    path: '/examples/admin/editor/:id?',
    name: 'AdminEditorExample',
    component: () => import('@/views/modules/examples/admin/EditorAdmin.vue'),
    meta: {
      currentActiveMenu: 'AdminExample'
    }
  },
  // {
  //   path: '/examples/admin/:id/detail',
  //   name: 'AdminDetailExample',
  //   component: () => import('@/views/modules/examples/admin/AdminDetail.vue'),
  //   meta: {
  //     currentActiveMenu: 'AdminExample',
  //     title: {
  //       text: '管理员详情',
  //       separator: '~'
  //     }
  //   }
  // },
  {
    path: '/examples/level-2-1',
    name: 'ExampleLevel2.1',
    component: () => import('@/views/modules/examples/ExampleView.vue')
  },
  {
    path: '/examples/level-2-2',
    name: 'ExampleLevel2.2',
    component: () => import('@/views/modules/examples/ExampleView.vue')
  },
  {
    path: '/examples/level-2-3',
    name: 'ExampleLevel2.3',
    component: () => import('@/views/modules/examples/ExampleView.vue')
  }
]

export default examples
